home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
quit
< prev
next >
Wrap
Text File
|
1995-05-06
|
1KB
|
48 lines
Quit(V1.3 on C:) (2.x/3.x internal)
NAME
Quit - Exit from a batch file with the given error
code.
SYNOPSIS
Quit returncode
DESCRIPTION
Quit forces an exit from the currently executing
batch file. If given a numeric argument, it will return
this as it's own exit status.
KEYWORDS
returncode
This is the return code reported when the script is
quited. If it is above the FAILAT level, you will get
the message:
QUIT failed returncode [returncode]
The number specified is substitued for [returncode].
If it is below the FAILAT level, or this level is not
specified, then no message is displayed on QUITing the
script.
EXAMPLES
To exit a command without an error code:
QUIT
To exit a command with an error code 12:
QUIT 12
*Note that 2.x/3.x contains this command as a
builtin.